Create campaign
The following script describes the campaign script.
This script must be saved in the description.ext
file
|
class MissionDefault
{
lives = -1;
lost = ;
end1 = ;
end2 = ;
end3 = ;
end4 = ;
end5 = ;
end6 = ;
};
class Campaign
{
name = "Operation Flashpoint";
firstBattle =
Test;
class
Test
{
name = "Test";
cutscene = ;
firstMission =
start;
end1 = ;
end2 = ;
end3 = ;
end4 = ;
end5 = ;
end6 = ;
lost =
Test;
class
start: MissionDefault
{
end1 = end;
end2 =
start;
end3 =
start;
end4 =
start;
end5 =
start;
end6 =
start;
lost =
start;
template =
start.intro;
};
class end: MissionDefault
{
end1 =
start;
end2 =
end;
end3 =
end;
end4 =
end;
end5 =
end;
end6 =
end;
lost =
end;
template =
end.intro;
};
};
}; |
Operation Flashpoint
is the name of the campaign and it will also be shown in the game
Test is
the name of the .pbo file (It must be the same name)
start
is the name of the first mission